<h1>已通过推荐</h1>
<%= render :partial => 'menu' %>
<% if @pickups.empty? %>
<p>此类下暂无推荐</p>
<% else %>
<% @pickups.each do |pickup| %>
<p><b>av<%= pickup.avid %> | <%= link_to h(pickup.wname), :action => :show, :id => pickup.id %> |
</b><%if pickup.status == 2%>【<%=pickup.password%>】<% else %><span class="d_list_s">
<%= link_to "[启用/生成密码]", {:action => :use, :id => pickup.id}, :onclick => "return confirm('确定启用av#{pickup.avid}的推荐吗？');" %>
<%= link_to "[改为忽略]", {:action => :ignore, :id => pickup.id}, :onclick => "return confirm('确定忽略av#{pickup.avid}的推荐吗？');" %>
</span><% end %></p>
<ul><li><%= pickup.reason %></li></ul><hr/>
<% end %>
<% end %>